package org.third.integration.kubernates.batch;

import java.io.InputStream;
import java.util.List;

import org.third.integration.kubernates.batch.bean.BatchInfo;
import org.third.integration.kubernates.batch.bean.KubeInstanceMetaDTO;
import org.third.integration.kubernates.cmd.imp.exp.RequestApiServerException;

public interface KubeBatch {
	
	BatchInfo create(List<InputStream> inputSteamList) throws RequestApiServerException;
	
	BatchInfo create(InputStream inputSteam) throws RequestApiServerException;
	
	BatchInfo get(List<KubeInstanceMetaDTO> kubeInstanceMetaList) throws RequestApiServerException;
	
	BatchInfo get(KubeInstanceMetaDTO kubeInstanceMetaDTO) throws RequestApiServerException;
	
	BatchInfo delete(List<KubeInstanceMetaDTO> kubeInstanceMetaList) throws RequestApiServerException;
	
	BatchInfo delete(KubeInstanceMetaDTO kubeInstanceMetaDTO) throws RequestApiServerException;
	
	BatchInfo getPodsUnderService(KubeInstanceMetaDTO serviceMetaDTO) throws RequestApiServerException;
	
}
